package com.example.wlzz.form;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class SayLoveForm {
    @NotNull
    private String username;     //告白者姓名

    @Size(max = 1,min = 0)
    private String  niming;         //是否匿名   0为实名，1为匿名

    @NotNull
    private String toUsername;  //表白名称
    @NotNull
    private String content;     //表白内容
}
